﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:PriceCuttingWar" x:Class="PriceCuttingWar.UICard"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    mc:Ignorable="d"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480" Width="200" Height="150">
    
	<Grid x:Name="LayoutRoot">
		<Rectangle Stroke="#FFFFBC00" RadiusX="5.333" RadiusY="5.333" StrokeThickness="5">
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF439510" Offset="0"/>
					<GradientStop Color="#FF89FF40" Offset="1"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<TextBlock Margin="8,0,26,7" FontFamily="Comic Sans MS" FontSize="32" Foreground="#FF474747" TextWrapping="Wrap" Height="45" VerticalAlignment="Bottom" Text="Cost"/>

        <local:UIFood x:Name="FoodImage" HorizontalAlignment="Left" Margin="5,5,0,31" d:LayoutOverrides="Width"/>
		<Path Fill="#FF13A34C" Stretch="Fill" StrokeThickness="5" Margin="66.5,4.75,5.162,31.834" UseLayoutRounding="False" Data="M71,8.4626675 L144.61453,67 L144.53185,27.289145 L120.09956,8.3201694 z"/>
		<TextBlock Margin="0,2,1,0" FontFamily="Comic Sans MS" FontSize="18.667" Foreground="#FF474747" TextWrapping="Wrap" Height="24" VerticalAlignment="Top" Text="Good" HorizontalAlignment="Right" Width="44" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
			<TextBlock.RenderTransform>
				<CompositeTransform Rotation="33.838"/>
			</TextBlock.RenderTransform>
		</TextBlock>
		<TextBlock x:Name="Money2" Margin="51,0,0,58" FontFamily="Comic Sans MS" FontSize="64" Foreground="Red" Text="100" TextAlignment="Center" TextWrapping="Wrap" TextDecorations="Underline"/>
		<TextBlock x:Name="Money1" Margin="84,0,15,7" FontFamily="Comic Sans MS" FontSize="48" Foreground="#FF474747" TextAlignment="Center" TextWrapping="Wrap" Height="63" VerticalAlignment="Bottom" Text="99"/>
		<Path Fill="#FF4AA313" Stretch="Fill" Stroke="#FF626262" StrokeThickness="5" Height="37.5" Margin="27.5,0,15.5,8.5" VerticalAlignment="Bottom" Opacity="0.6" UseLayoutRounding="False" Data="M39,87 L141,76"/>
	</Grid>
</UserControl>
